<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="${base}/core/appcode/codeinput.do?codeTypeId=${typeId}&targetType=${targetType}&targetId=${targetId}"  target="dialog"   mask="true"  titile="码表信息"><span>新增</span></a></li>
			<li><a class="delete" href="${base}/core/appcode/codedelete.do?id={sid}&typeId=${typeId}&targetType=${targetType}&targetId=${targetId}"  target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="${base}/core/appcode/codeinput.do?id={sid}&codeTypeId=${typeId}&targetType=${targetType}&targetId=${targetId}"  target="dialog"  mask="true" ><span>修改</span></a></li>
			<li class="line">line</li>
		</ul>
	</div>
	
	<table class="table" width="100%" layoutH="115">
		<thead>
			<tr>
				<th width="50">序号</th>
				<th>代码</th>
				<th>字符值</th>
				<th>是否可用</th>
		 
			</tr>
		</thead>
		<tbody>
			<c:forEach var="item" items="${listCode}" varStatus="status">
			<tr target="sid" rel="${item.id}">
			<td>${status.count}</td>
		<td>${item.code}</td>
		<td>${item.stringValue}</td>
		<td><w:code type="yesno" key="${item.enable}"/></td>
 
			</tr>
			</c:forEach>
					</tbody>
	</table>
 
</div>